<?php


namespace app\template;


abstract class TemplateAbstract
{
    public final function templateMethod()
    {
        $this->method1();

        $this->method2();
    }

    abstract protected function method1();

    abstract protected function method2();
}